package com.example.vv.model.project.base.contract;

import com.example.vv.fragmentWork.base.BaseView;
import com.example.vv.fragmentWork.entity.TreeClassEntity;
import com.example.vv.res.net.BaseResponse;

import java.util.List;

import io.reactivex.Observable;

public interface ChatContract{
    interface Model{
        Observable<BaseResponse> GET_CLASS(String api);
    }
    interface View extends BaseView{
        void getClassData(List<TreeClassEntity> classEntities);
    }
    interface Presenter{
        //处理数据返回给ui
        void setClassData();

    }
}
